package com.whitlock.backend.constant;

/**
 * 请求内容类型枚举
 * @author Whitlock
 */
public enum ContentType {

	/** 内容类型 */
	NAME("Content-Type"),

	/** JSON */
	APPLICATION_JSON("application/json"),
	/** SOAP+XML */
	APPLICATION_SOAP_XML("application/soap+xml; charset=UTF-8"),

	/** 下载 */
	CONTENT_DISPOSITION("Content-Disposition"), APPLICATION_X_DOWNLOAD("application/x-download");

	/** 枚举值 */
	private String value;

	/** 私有构造 */
	ContentType(String value) {
		this.value = value;
	}

	/** 获取枚举值 */
	public String getValue() {
		return this.value;
	}

}
